<html>
<head>
<title>Platform-Specific Details: Running a Java Application</title>
</head>
<body>
<a href="main.html"><img src=../../images/PreviousArrow.gif width=26 height=26 align=bottom border=0 alt="Previous"></a>
<p>
<hr size=4>

<h2>
    Platform-Specific Details: Running a Java Application
</h2>
<p>
<blockquote>

<dl>
<dt><strong>UNIX</strong>
<dd>
<pre>
% <strong>java CountFile testing</strong>
testing has 70 chars.
</pre>

<dt><strong>DOS shell (Windows 95/NT)</strong>
<dd>
<pre>
C:\> <strong>java CountFile testing</strong>
testing has 71 chars.
</pre>

</dl>

<strong>Note:</strong> the program gives different results for UNIX and
DOS systems. On UNIX when you press the return key, you get
a single character: <code>\n</code>.
However, on DOS when you press the return key, you get
two characters: <code>\r\n</code>.

</blockquote>
<p>
<hr size=4>
<p>
<a href="main.html"><img src=../../images/PreviousArrow.gif width=26 height=26 align=top border=0 alt="Previous"></a>
</body>
</html>
